package tech.aistar.entity;


import java.io.Serializable;

/**
 * @author success
 * @version 1.0
 * @description:本类用来演示:
 * @date 2019/8/16 0016
 */
public class Customer implements Serializable{

    private Integer id;

    private String cname;

    private String phone;

    private int status;//标记

    private String stuName;

    public void setStuName(String stuName) {
        this.stuName = stuName;
    }

    public String getStuName() {
        return stuName;
    }

    public Customer() {
    }

    public Customer(Integer id, String cname, String phone, int status) {
        this.id = id;
        this.cname = cname;
        this.phone = phone;
        this.status = status;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCname() {
        return cname;
    }

    public void setCname(String cname) {
        this.cname = cname;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Customer{");
        sb.append("id=").append(id);
        sb.append(", cname='").append(cname).append('\'');
        sb.append(", phone='").append(phone).append('\'');
        sb.append(", status=").append(status);
        sb.append(", stuName='").append(stuName).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
